package com.hczt.fire.framework.swagger;

import com.hczt.fire.framework.swagger.configuration.SwaggerConfiguration;
import org.springframework.context.annotation.Import;
import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.lang.annotation.*;
/**
 * @author marvin.ma
 * @create 2017-09-05 11:14
 * @desc swagger自动配置
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableSwagger2
@Import({SwaggerConfiguration.class, BeanValidatorPluginsConfiguration.class})
public @interface EnableSwaggerDoc {

}
